<?php include_once("DataTables.php");
//=========================================== DEFINNING THE CONNECTION STRINGS ==================================//
   ############## FOR LOCALHOST #################
	define("HOSTNAME","192.168.2.36");
	define("USERNAME","root");
	define("PASSWORD","CATCAT2009");
	define("DATABASE","sioco0_admob");

/*  ############## FOR SERVER ######################
     define("HOSTNAME","localhost");
     define("USERNAME","sioco0_admob");
     define("PASSWORD","admob");
     define("DATABASE","sioco0_admob");
*/
	$connection = mysql_connect(HOSTNAME,USERNAME,PASSWORD) or die(mysql_error());
	$databse_connection = mysql_select_db(DATABASE) or die(mysql_error());
//********************************** END OF THE CODE ********************//
	$rs_settings = mysql_query("SELECT * from ".GLOBALSETTINGS) or die(mysql_error());

	$row_settings = mysql_fetch_array($rs_settings);

	$url = $_SERVER['REQUEST_URI'];

	$GLOBALS['lmt'] = $row_settings['resultsPerPage'];

	$GLOBALS['adminpagelimit']=$row_settings['resultsPerPageAdmin'];



	$GLOBALS['admin_email'] = $row_settings['adminUrl'];

	$GLOBALS['site_name'] = $row_settings['websiteName'];

	$GLOBALS['site_url'] = $row_settings['siteUrl'];

	$GLOBALS['avgImpression'] = $row_settings['avgImpression'];



	$GLOBALS['today'] = date('Y-m-d');

	$GLOBALS['ip'] = $_SERVER['REMOTE_ADDR'];

	$NoofRowInTab=9;

	 



//============================================= END OF THE CODE ===================================================//



?>

